package com.slug.dao.mapper;

import java.util.List;

import cn.com.mangrove.commons.jdbc.MybatisRepository;

import com.slug.dao.entity.OsProductSpecification;
import com.slug.po.KindVO;
@MybatisRepository
public interface OsProductSpecificationMapper {
    int deleteByPrimaryKey(Long productSpecId);

    int insert(OsProductSpecification record);

    int insertSelective(OsProductSpecification record);

    OsProductSpecification selectByPrimaryKey(Long productSpecId);

    OsProductSpecification selectByProductSpecNumber(Long productSpecNumber);

    int updateByPrimaryKeySelective(OsProductSpecification record);

    int updateByPrimaryKey(OsProductSpecification record);
    
    List<OsProductSpecification> selectByProductNumber(Long productNumber);

    List<OsProductSpecification> selectByProductId(Long productId);

    List<KindVO> selectSpecByCategoryId(Long categoryId);
}